﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.IoTManagement;
using Digitalmes.Model;
namespace Digitalmes.ViewModel.IoTManagement.CollectTaskVMs
{
    public partial class CollectTaskSearcher : BaseSearcher
    {
        
        [Display(Name = "_Model._CollectTask._TaskName")]
        public string TaskName { get; set; }
        [Display(Name = "_Model._CollectTask._TargetDeviceType")]
        public MeterDeviceTypeEnum? TargetDeviceType { get; set; }
        [Display(Name = "_Model._CollectTask._Device")]
        public long? DeviceId { get; set; }
        [Display(Name = "_Model._CollectTask._IntervalMinutes")]
        public int? IntervalMinutes { get; set; }
        [Display(Name = "_Model._CollectTask._StartTime")]
        public DateRange StartTime { get; set; }
        [Display(Name = "_Model._CollectTask._EndTime")]
        public DateRange EndTime { get; set; }
        [Display(Name = "_Model._CollectTask._Status")]
        public TaskStatusEnum? Status { get; set; }
        [Display(Name = "_Model._CollectTask._CreateTime")]
        public DateRange CreateTime { get; set; }
        [Display(Name = "_Model._CollectTask._UpdateTime")]
        public DateRange UpdateTime { get; set; }
        [Display(Name = "_Model._CollectTask._CreateBy")]
        public string CreateBy { get; set; }
        [Display(Name = "_Model._CollectTask._UpdateBy")]
        public string UpdateBy { get; set; }

        protected override void InitVM()
        {
            

        }
    }

}